package com.gitee.cirnochat.chat.model.vo.req;

import com.gitee.cirnochat.chat.model.dto.ChatMessage;
import com.gitee.cirnochat.chat.model.enums.ChatSessionType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "聊天消息转发DTO")
public class ChatMessageForwardRequest {
    @Schema(description = "会话ID")
    @NotNull(message = "会话ID不能为空")
    private Long sessionId;

    @Schema(description = "会话类型")
    private ChatSessionType sessionType;

    @Schema(description = "消息列表")
    @NotEmpty(message = "消息列表不能为空")
    private List<ChatMessage> messages;
}
